package treeview.table;

import treeview.AbstractNodeView;

import java.awt.*;

/**
 * Created by Pavel Nikolaev
 */
public final class EmptyCellView extends AbstractNodeView {

    public void fitIntoWidth(Graphics g, int widthToFitInto) {
        myWidth = widthToFitInto;
        myHeight = 0;
    }

    public void paint(Graphics g) {
        g.drawRect(myX, myY, myWidth, myHeight);
    }
}
